package com.tom.jmgd.entity.param;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tom.jmgd.core.entity.AbstractEntity;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tom
 * @since 2024-05-10
 */
public class TPdH extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pd_id", type = IdType.AUTO)
    private Long pdId;

    @TableField("pd_name")
    private String pdName;

    @TableField("busno")
    private Integer busno;

    @TableField("orgname")
    private String orgname;

    @TableField("create_datetime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createDatetime;

    @TableField("create_empname")
    private String createEmpname;

    @TableField("notes")
    private String notes;

    @TableField("statusflag")
    private String statusflag;

    @TableField("type")
    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatusflag() {
        return statusflag;
    }

    public void setStatusflag(String statusflag) {
        this.statusflag = statusflag;
    }

    public Long getPdId() {
        return pdId;
    }

    public void setPdId(Long pdId) {
        this.pdId = pdId;
    }
    public String getPdName() {
        return pdName;
    }

    public void setPdName(String pdName) {
        this.pdName = pdName;
    }
    public Integer getBusno() {
        return busno;
    }

    public void setBusno(Integer busno) {
        this.busno = busno;
    }
    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }
    public LocalDateTime getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(LocalDateTime createDatetime) {
        this.createDatetime = createDatetime;
    }
    public String getCreateEmpname() {
        return createEmpname;
    }

    public void setCreateEmpname(String createEmpname) {
        this.createEmpname = createEmpname;
    }
    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    @Override
    public String toString() {
        return "TPdH{" +
            "pdId=" + pdId +
            ", pdName=" + pdName +
            ", busno=" + busno +
            ", orgname=" + orgname +
            ", createDatetime=" + createDatetime +
            ", createEmpname=" + createEmpname +
            ", notes=" + notes +
        "}";
    }
}
